# from langchain_community.embeddings import OllamaEmbeddings
#
# from langgraph_memory.src.config.config import Settings
#
# if __name__ == '__main__':
#
#     embeddings = OllamaEmbeddings(
#         model="bge-m3:latest",
#         base_url="http://172.20.0.89:11434"  # 注意此处为基础 URL，不含 /v1/embeddings
#     )
#     print(embeddings.embed_query("你是谁"))
